home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / applications / databases / telebase2.6.lha / TBase_rexx.lha / call.rexx next >
Encoding:
OS/2 REXX Batch file  |  1994-04-14  |  843 b   |  25 lines

  1. /* Accessing incoming call data */
  2.  
  3. address tbase
  4.  
  5. GETVAR                              /* 
  6.                                     ** Fills all rexx variables with 
  7.                                     ** data from TeleBASE
  8.                                     */
  9.  
  10. callnum = numcalls                  /* 
  11.                                     ** Set the current 'callnum', to the
  12.                                     ** latest one available.
  13.                                     */
  14.  
  15. SENDVAR                             /* Tell TeleBASE to make it current */
  16. GETVAR                              /* Get new data from TeleBASE       */
  17.   say 'C_NAME is ' C_NAME
  18.   say 'C_DATA is ' C_DATA
  19.   say 'C_TIME is ' C_TIME  
  20.   say 'C_DATE is ' C_DATE
  21.   say 'C_RAW is '  C_RAW
  22.   say 'C_NUM is '  C_NUM
  23.   say 'NumCalls is ' numcalls
  24.   say 'Caller number is ' callnum
  25.